
cmake_minimum_required(VERSION 3.5.1)



add_library( lane_follow_stage lane_follow_stage.cc)
target_link_libraries( lane_follow_stage 
cyber::log
common
map_proto
common::status
common::time
common::util
common::factory
common::vehicle_state_provider
map::hdmap

planning::common_lib
common
planning_common_module
planning::common_lib
planning_proto
planning::speed_profile_generator
planning_constraint_checker_module
planning::quartic_polynomial_curve1d


planning::reference_line
planning::qp_spline_reference_line_smoother
scenario
lane_change_decider
path_decider
speed_decider
path_optimizer
speed_optimizer
path_decider

Eigen3::Eigen

)





add_library( lane_follow_scenario  lane_follow_scenario.cc  )
target_link_libraries( lane_follow_scenario
lane_follow_stage
cyber::log
common
map_proto
common::status
common::time
common::util
common::factory
common::vehicle_state_provider
map::hdmap


planning::common_lib
common
planning_common_module
planning::common_lib

planning_proto
planning::speed_profile_generator
planning_constraint_checker_module
planning::quartic_polynomial_curve1d
lane_change_decider

planning::reference_line
planning::qp_spline_reference_line_smoother
scenario
lane_change_decider
path_decider
speed_decider
path_optimizer
speed_optimizer
path_decider

Eigen3::Eigen
)


add_library( lane_follow )
target_link_libraries( lane_follow
                                    lane_follow_scenario
                                    lane_follow_stage
                                )




install(TARGETS     lane_follow_stage
                    lane_follow_scenario
                    lane_follow
        EXPORT  apollo-export
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        RUNTIME DESTINATION bin
        INCLUDES DESTINATION .
        )